package automated_assembly;

import org.springframework.stereotype.Component;

/**
 * Created by ztt on 2017/9/14.
 */
@Component("sgt2")/** 设置bean的id **/
public class SgtPeppers2 implements CompactDisc {
    @Override
    public void play() {
        System.out.println("this is sgt2");
    }
}
